package com.sinothk.hussars.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sinothk.hussars.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * <p>
 * 监管部门用户表
 * </p>
 *
 * @author liangyt
 * @since 2021-01-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tab_worker_manager")
@ApiModel(value="WorkerManagerEntity对象", description="监管部门用户表")
public class WorkerManagerEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    private String id;

    @ApiModelProperty(value = "账号")
    private String account;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "身份证")
    private String idNum;

    @ApiModelProperty(value = "手机号码")
    private String phoneNum;

    @ApiModelProperty(value = "密码(MD5)")
    private String password;

    @ApiModelProperty(value = "职工编号")
    private String workId;

    @ApiModelProperty(value = "创建人编号")
    private String creatorId;

    @ApiModelProperty(value = "创建日期")
    private Date createDate;

    @ApiModelProperty(value = "头像地址")
    private String avatar;

    @ApiModelProperty(value = "性别 1男 0女")
    private Integer sex;

    @ApiModelProperty(value = "状态 0正常 1审核中 2停用")
    private Integer state;

    @ApiModelProperty(value = "所在机构编号")
    private String orgCode;

    @ApiModelProperty(value = "所属机构名称")
    private String orgName;

    @ApiModelProperty(value = "所属部门编码")
    private String deptCode;

    @ApiModelProperty(value = "所属部门名称")
    private String deptName;

    @ApiModelProperty(value = "职位编码")
    private String jobCode;

    @ApiModelProperty(value = "职位名称")
    private String jobName;

    @ApiModelProperty(value = "省级名称")
    private String addrProvince;

    @ApiModelProperty(value = "市级名称")
    private String addrCity;

    @ApiModelProperty(value = "县级名称")
    private String addrDistrict;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "更新时间")
    private Date updateDate;

    @ApiModelProperty(value = "更新人编号")
    private String updaterId;

    @ApiModelProperty(value = "用户权限")
    private String permissions;


}
